﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JChatCore.Topic;
using JChatData.LogMap;

namespace JChatSerVices.TopicServices
{
    public partial interface ITopicService
    {
        #region GetData
        List<Topic> GetAllTopic();
        List<Topic> GetTopicByID(int _id);
        #endregion

        #region Add/Update/Delete
        bool AddTopic(Topic _topic);
        bool UpdateTopic(int _id, Topic _topictable);
        bool DeleteTopic(int _id);
        #endregion
    }
}
